<?xml version='1.0' encoding='UTF-8' ?>  
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">    
<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:h="http://java.sun.com/jsf/html"  
    template="./template_default.xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui"
    >  
    
    <f:metadata>
        <f:viewParam name="idArticle" value="#{managementBean.idArticle}"/>
    </f:metadata>
    
    <ui:define name="complementTitreEtH1">
        Mettre a jour le prix de #{managementBean.article.nom} 
    </ui:define> 

    <ui:define name="content">  
        
       <h:panelGrid columns="2" border="1" cellpadding="0" cellspacing="2" rendered="#{managementBean.connectedAdmin}">
            <h:outputLabel value="Prix :" for="prix" />
            <h:inputText id="prix" value="#{managementBean.article.prix}" title="prix" />
        </h:panelGrid>
        <br />
        <center><h:commandButton action="#{managementBean.updateArticle()}" value="update" rendered="#{managementBean.connectedAdmin}"/></center>




    </ui:define>  

</ui:composition>  




      
